package server.mapper;

import java.nio.file.Path;

/**
 * @ClassName Context
 * @Description 应用的配置
 * @Author wugz
 * @Date 2020/3/31 13:33
 * @Version 1.0
 */
public class Context {

    private String name;

    private Warpper warpper;

    public Context(String name,Path path) throws Exception{
        setName(name);
        setWarpper(new Warpper(path));
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Warpper getWarpper() {
        return warpper;
    }

    public void setWarpper(Warpper warpper) {
        this.warpper = warpper;
    }
}
